import Vue from 'vue'
import BigDad from './BigDad.vue'
import router from './router'
import elementui from './elementui/elementui'
import axios from 'axios'

Vue.prototype.axios = axios

axios.defaults.baseURL="/goodApi/"
// axios.defaults.baseURL="http://101.43.68.39:2022/"
// axios.defaults.baseURL="http://localhost:8089/"
// axios.defaults.baseURL="http://101.43.68.39/"
// axios.defaults.baseURL="https://www.haiggood.com/"
// axios.defaults.baseURL="http://www.jhgg.cc/"
Vue.config.productionTip = false

new Vue({
  router,
  elementui,
  beforeCreate() {
		Vue.prototype.$bus = this
    Vue.prototype.$addr = axios;
	},
  render: h => h(BigDad)
}).$mount('#good')
